import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    /*   {
      path: '/',
      name: 'home',
      component: () => import('@/views/HomeView.vue'),
    },*/
    {
      path: '/worlds',
      name: 'worlds',
      component: () => import('@/views/worlds/index.vue'),
    },
    {
      // path: '/ifcTiler',
      path: '/',
      name: 'IfcTiler',
      component: () => import('@/views/worlds/IfcTiler.vue'),
    },
  ],
})

export default router
